package cate.common.table.pvp.eliterace;

import cate.common.table.ESheet;

import java.util.List;
import java.util.stream.Collectors;

public class EliteRaceSupportLevelSheet extends ESheet<EliteRaceSupportLevel> {

    @Override
    public String getSheetName() {
        return "精英赛应援等级";
    }

    public List<EliteRaceSupportLevel> findLevel(long count) {
        return getList().stream()
                .filter(row -> row.exp <= count)
                .collect(Collectors.toList());
    }
}
